﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using DOAN.DLL;
using DOAN.Public;

namespace DOAN.BLL
{
    public class QuyenBLL
    {
        QuyenDAL _quyen;

        public QuyenBLL()
        {
            _quyen = new QuyenDAL();
        }

        public DataTable Load()
        {
            return _quyen.Load();
        }

        public int Insert(QuyenPublic p)
        {

            return _quyen.Insert(p);
        }

        public int Update(QuyenPublic p)
        {
            return _quyen.Update(p);
        }

        public int Delete(QuyenPublic p)
        {
            return _quyen.Delete(p);
        }
    }
}
